import request from "@/utils/request";

enum Api {
  getUserChatListUrl = "/user/detail",
}

/**
 *
 * @param uid   账号id
 * @returns  any
 */
export const getUserChatListApi = (uid: Number) => {
  return request.get<any,any>(Api.getUserChatListUrl, {
    params: {
      uid,
    },
  });
};
